//
//  NetWorkManager.h
//  SmartTalk
//
//  Created by 陈勃 on 14-12-22.
//  Copyright (c) 2014年 gameabc. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "Defines.h"
#import "CmdProcessor.h"
@interface NetWorkManager : NSObject
@property(nonatomic)NSInteger senderid;
+ (NetWorkManager *)sharedInstance;


-(void)connect;
-(void)excuteCmd:(CmdProcessor *)processor;
-(void)sendContent:(NSString *)content;
-(void)sendMessageWithInfo:(NSDictionary *)info to:(int)userid;
-(void)sendMessageWithInfo:(NSDictionary *)info data:(NSData *)fileData to:(int)userid;


- (uint64_t)getLongTransIdIndex;
@end
